From: Florian Müllner Date: Thu, 13 Aug 2020 22:04:38 +0000 (+0200) Subject: st: Remove invalid introspection annotation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~28 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=923d92634504e461c3207c0e6a558d3ab43d6ad9;p=gnome-shell.git st: Remove invalid introspection annotation (optional) is only valid for (out) or (inout) parameters (that are marked as such). However GError** arguments appear as throws="1" in the GIR anyway instead of an explicit parameter, so we don't need any annotation at all here. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1408 --- diff --git a/src/st/st-theme.c b/src/st/st-theme.c index e9716fe63..d1bde3fc0 100644 --- a/src/st/st-theme.c +++ b/src/st/st-theme.c @@ -254,7 +254,7 @@ insert_stylesheet (StTheme *theme, * st_theme_load_stylesheet: * @theme: a #StTheme * @file: a #GFile - * @error: (optional): a #GError + * @error: a #GError * * Load the stylesheet associated with @file. *